﻿using System.Web.Security;

namespace EzDesk.Core.Interface
{
    public interface IMembershipService
    {
        int MinPasswordLength { get; }

        MembershipProvider Provider { get; }
        bool ValidateUser(string userName, string password);
        MembershipCreateStatus CreateUser(string userName, string password);
        void ChangePassword(string userName, string oldPassword, string newPassword);

    }
}